begin the work of making the toJsonArray test pass.  Still a bunch more to go