Move from XML-RPC to JSON-RPC.
Small human error fix.
Merge pull request #1271 from drainx/next

JSON-RPC