Fix a typesafety bug with tags like "2008" as array keys