add _id property to post object