I saved a flow in JSON format, but when tried to load it as a template the following error appeared: "The specified template is not in a valid format".
I noticed the other templates I uploaded were XML files and not JSON. How can the template be saved as XML?

