wrote json lexer