Add post fields for hierarchy and ordering

The API will now show the parent (if any) and the ordering of the post (again, if there is any ordering).