Refactor: JSON errors now return the message from messageSource instead of error.codes

BMS-119

Reviewer: Daniel Villafuerte