added json getters and setters, updated readme
added test for json
updated readme