Using post() or put() on the client with an "application/json" or "text/json" content-type and using an InputStream as the data throws the following exception:
Caused by: org.codehaus.jackson.map.JsonMappingException: No serializer found for class java.io.ByteArrayInputStream and no properties discovered to create BeanSerializer (to avoid exception, disable SerializationConfig.Feature.FAIL_ON_EMPTY_BEANS) )