Small improvement to Dropwizard/json resource

As per my earlier email, I think Dropwizard test can be improved slightly by using JSON generation similar to what Servlet test does: use POJO instead of Map. DW will then pass it to underlying JAX-RS which will serialize it to same payload.