change to 'err' serialization to NOT include extra err attributes: for safety