fun snAttrs(pairs: List<StringPair>): Attrs
Helper function for creating attributes parameters for Snabbdom.