State json parser

This adds a way to read and write state objects to/from JSON strings. It uses the Jackson fasterxml library

https://github.com/FasterXML/jackson