Basic version of sql to mongo parser.