add support for JSON-RPC 1.0

we have JSON-RPC 1.0 in Factory. Using the legacy interface there is the
easiest way.