[BUGFIX] change hard coded protocol in JSON-link into generic one