public <T> T unmarshall(final HttpServletRequest request, final Class<T> type) {
try {
final ObjectMapper om = new ObjectMapper();
return om.readValue(request.getInputStream(), type);
} catch (final IOException e) {
throw new AeroGearException(e);
}
}