map() is redefined. Fix error handling and decoding of addons IDs.