mapper from Bitcoin RPC to Nxt RPC