Fix crash caused by `docker service inspect --pretty` Upstream-commit: 6d0f7bb4c718cbd0ae8e80bb1e974e7632d03d75 Component: engine