improve json parsing test for CRUDCollection's upsert.