I am writing a program which parses lists like this.
[\'ecl:gry\', \'pid:860033327\', \'eyr:2020\', \'hcl:#fffffd\', \'byr:1937\', \'iyr:2017\', \'cid:147\',