Daml-ui-template: use a different JSON API instance for each party

A post was split to a new topic: Why run a separate json-api for each party?