Pandora - test for getObjectAsJson method