migrating from gson to json-io, since it simplifies the api