code: function splitArgObjects (args) {
    const newArgs = []
    let index = 0
  
    while (index < args.length) {
      const arg = args[index]
  
      if (arg.indexOf('{') !== -1) {
        const temp = []
  
        while (args[index].indexOf('}') === -1) {
          temp.push(args[index])
          index++
        }
        temp.push(args[index])
  
        newArgs.push(temp.join(' ').replace(/([\w\d-]+):\s*([\w\d-]*)/g, '"$1": "$2"'))
      } else {
        newArgs.push(arg)
      }
  
      index++
    }
  
    return newArgs
  }
docs: Properly parse the given array in regards to object strings
  e.g. [ '--headers={Foo:', '5,', 'bar:', '6}' ] -> [ '--headers={"Foo": 5, "bar": 6}' ]
  @param {Array} args