Basic deserialize for json, need a way to serialize