support optional service reference syntax in yaml #194