title: Error when Saving JSON Obj in MarkLogic using Spring data abstraction for MarkLogic
body: <p>I am receiving a JSON from a producer application and when I try to convert that into a JSON Object and save it into MarkLogic as <code>.json</code>. I donot have the POJO for the incoming unknown data to have a field to annotate it with @Id. I am getting below Error</p>
  
  <pre><code>@Autowired
  MarkLogicOperations ops;
  
      @StreamListener(MultiInputSink.INPUT)
          public synchronized void handle(String ConsumerContents) {    
  
  
              JSONObject jsobObj = new JSONObject(consumerContents);
  
              ops.write(jsobObj, "Consumer");
  
              logger.info("Consumer Data "+jsobObj.toString());
  
  
          }
  </code></pre>
  
  <p>Below is the error:-</p>
  
  <pre><code>nested exception is java.lang.illegalArgumentException: your entity of type org.json.JSONObject does not have a method or field annotated with field org.springframework.data.annotated.id
  </code></pre>
  
  <p>I need to save JSONs as it comes. Is there a way to go around this ? Thank you.</p>
  
  <p>Note:- I am using this for Spring-data-abstraction for MarkLogic <a href="https://github.com/malteseduck/spring-data-marklogic" rel="nofollow noreferrer">https://github.com/malteseduck/spring-data-marklogic</a></p>