json objects to documents