Added option for output on relationship field

Now possible to choose from post object or post id with post object being the default value to avoid complications when updating