[server][RestResourceAction] Remove depulicated replyError

Deplicated replyError code generates strange json.