convert_post_to_json added (incomplete).