Finished conversion to JSON. fullsync response defined. Added a test
method.