asMap

fun Any.asMap(): Map<*, *>

Convert Any to a Map in a way that's easily null-safetied.