XAML-inspired, JSON-based (de)serialization