Duplicate and different post_object creators
condenser_api and database_api use their own _condenser_post_object
and database_post_object
to create and return post objects.
These two functions currently differ and return different objects for the same post.
This code should be merged into a single function called by both API