added test for serialise() method
tests for ObjectParserJSON
removed old code