Fixed toJSON() for multiExtension