public static Map<String, Vertex5[]> importVertsFromJson(ResourceManager resourceManager, ResourceLocation resource) {
        try (InputStream stream = resourceManager.getResource(resource).get().open()) {

            return importVertsFromJson(new InputStreamReader(stream));

        } catch (IOException e) {
            throw new RuntimeException(e);
        }
    }
Exports a map of verts to a json file (i.e. groups of a CCModel for example)
@param filePath The path to the destination file (directories must exist)
@param vertGroups The map of vert groups to export
core/src/main/java/mrtjp/projectred/lib/ModelLib.java