Getting closer with Json serialization