WIP (adding JSON parsing).  Both tests failing.
Document states.
Use single end state.