[server][RestResourceAction] remove needless add `id` to JSON

actionDef.id is already given in privious getParamWithErrorReply.