Parse string headers into array when passing to guzzle