dropwizard already has a filter for this