method types.Map.prototype.toJSONimport { types } from "https://dotland.deno.dev/x/polkadot@0.2.23/mod.ts"; const { Map } = types; toJSON(): Record<string, AnyJson>ReturnsRecord<string, AnyJson>