An C# class serialize object to json and deserialize json back to obj