fixing some minor JSON bugs and adding more tests for the objects
Merge pull request #5 from RusticiSoftware/br-minor-bugs

fixing some minor JSON bugs and adding more tests for the objects