A few more unit tests for json.
Added more unit tests for json decoding and found a typo.
Add more unit tests for json.
Added more unit tests for json and fixed yet another typo.
Added some unit test for json for floats and fixed a couple of bugs.