function fixConfig() {
  if (typeof Cypress === 'undefined') {
    throw new Error('Please use from within Cypress.io');
  }

  if (typeof Cypress.env(CONFIG_KEY) === 'string') {
    Cypress.env(CONFIG_KEY, JSON.parse(Cypress.env(CONFIG_KEY)));
  }
}
Check if config in `Cypress.env` is stringified JSON.
If so parse it and set the parsed value back in `Cypress.env`.