Added (JSON) serialization logic