Business exception will now return the error code and message as a JSON response.