Currently, I have to to_json my selector and manually mangle certain value types to get them ready for mongo.