How to retrieve using spring-data-couchbase if document has no _class field or any other documentType mentioned

How can I retrieve documents using N1ql with spring-data-couchbase if those document has no _class or any doc type mentioned in the document. Those document were save using sdk as jsonDocument. Is there some configuration I can add/change so that I can read them using spring-data repository?

thanks