Condense name/value attributes into a single key/value pair