ApplicationRestApiController::_report_success() and ApplicationRestApiController::_report_fail() improved