fun <T> withCurrentContext(context: SerializationContext?, block: () -> T): T
Change the current context inside the block to that supplied.