move all docs into json