Should not create a new Gson instance and use the one set on the class instead (`getGson()`). Also why not just print `entity`; yes it won't be *pretty printed* but that is the actual entity and doing a json parse for the second time here is kinda wasteful.