private static JpsModulePropertiesSerializer<?> getModulePropertiesSerializer(@Nullable String typeId) {
    for (JpsModelSerializerExtension extension : JpsModelSerializerExtension.getExtensions()) {
      for (JpsModulePropertiesSerializer<?> loader : extension.getModulePropertiesSerializers()) {
        if (loader.getTypeId().equals(typeId)) {
          return loader;
        }
      }
    }
    return JAVA_MODULE_PROPERTIES_SERIALIZER;
  }
private static JpsModulePropertiesSerializer<?> getModulePropertiesSerializer(@Nullable String typeId)