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