title: Jackson Serialization issue with CommonsMultipartFile
body: <p>I have a bean with CommonsMultipartFile type field like so:</p>
  
  <pre><code>public class Placement implements Serializable {
  
  private static final long serialVersionUID = 1L;
  
  private long placementId;
  private String type;
  private String placement;
  private transient CommonsMultipartFile fileData;
  </code></pre>
  
  <p>I have marked CommonsMultipartFile field as transient and trying to serialize to json using jackson library. But getting following error:</p>
  
  <pre><code>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) ) (through reference chain: nextag.travel.dashboard.model.Placement["fileData"]-&gt;org.springframework.web.multipart.commons.CommonsMultipartFile["inputStream"])
  </code></pre>
  
  <p>Any help/ suggestions would be highly appreciated.</p>