Add deserialization from JSON