function convertToJSONString (content) {
              if (typeof content === 'object') {
                return JSON.stringify(content);
              }

              const parsedFile = parseFile(content);

              return JSON.stringify(parsedFile.oasObject);
            }
Converts contents received from remoteRefResolver into stringified JSON
@param {string | object} content - contents from remoteRefResolver
@returns {string} Stringified JSON contents