Adds the getAttribute by key accessor to the nav builder item object

nav builder item currently returns string representation of all attributes but does not offer any accessor for getting the attribute by key