changed format, added new tests
updated persister for JSON object, added comments,