Made JSON classes to inherit object
Merge branch 'json' of https://github.com/korvatap/stateplex into json