cache JSON to BSON and linting