Fix serialization error in Maya exporter