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.

Issue
https://issues.sonatype.org/browse/NX-471

CI
TBD