fleshing out the json document format for tenants; adding a bit more to the mongodb test