JSONRPC/REST: Adapt API according to Harness specification.