code: public static void writeValue(OutputStream stream, Object pojo) throws IOException {
          DataModelSerializer.serializeAsStream(pojo, stream);
      }
docs: Write a JSON representation of the asset to a stream
  
  @param stream
  The stream to write to
  @param pojo
  The asset to write
  @throws IOException