Add implicit conversion for string attribute pairs