Makes the RPC lib use JSON