toMap

fun toMap(): Map<String, Any?>

A plain Kotlin map, all the way down. Cycles come back as the JsObject that closed them.