NX-471: Do not use internal DefaultAttributes class

As what happens here is just "filtering" the map,
no need to use/construct Attribute aside from the one got from
item.
Merge pull request #646 from sonatype/NX-471-default-attributes

NX-471: Do not use internal DefaultAttributes class