Start working on json serialization