Fixed incorrect serialization of extraData