move lexing to parser's control.
fix json "child" code.
update harness to match new usage.