title: Error parsing media type 'application/json;encoding=utf8, charset=utf-8'
body: <p>I'm using DropWizard with jersey to make a client that accepts JSON from a server and maps it to a POJO. However, I get this error when invoking the client. </p>
  
  <pre><code>java.lang.IllegalArgumentException: Error parsing media type 'application/json;encoding=utf8, charset=utf-8'
  </code></pre>
  
  <p>My code is as follows:</p>
  
  <pre><code>@Path("/something")
  @Produces(MediaType.APPLICATION_JSON)
  public class SampleClient {
    final Client client;
    WebResource.Builder builder;
  
    public SampleClient (Client client) {
      this.client = client;
      this.builder = client.resource("http://localhost/mysample/service").type("application/json");
    }
  
    @GET
    public MyMapper getSomething() {
     MyMapper result = builder.accept("application/json").get(MyMapper.class);
     return result;
    }
  }
  </code></pre>
  
  <p>What am I doing wrong?</p>