Fix package.json and make sure getDocWhere sends null when a doc does not match