Quick UserAgent.attributes implementation (returning a k/v hash).