[TASK] refactor ripple-rest error formats to include error attribute (RLJS-138)