refinement: Use service.pid instead of serviceId in json config

Change-Id: I4e22242ebccaeac1cbdc585b97cf23d6bc314251