Allow json to be used in request bodies

This adds json to the list of optional request object properties.