parse out entrypoint and cmd for each service