Ensure as_pymongo() and to_json honour only() and exclude() (#293)