Get json roundtrip working

Still need to fix up some of the parser definitions
Write initial JSON handlers