[#2061] Add implicit conversion for string attribute pairs

#2061