Same data structure as the returned json of document type