Add support for posting POJO classes as JsonObjects using Gson.