I have a table named "records" in a mongo db that contains documents in the following form:
{ "name": "a" "items":