Make .where and .find_one accept Hashes as queries (.to_json is now optional)