Added encode/decode methods for BNRItem