of

fun of(body: JsonNode, property: String): String?

The id body holds in property: null when it leaves it out or holds null there; an IllegalArgumentException when it holds anything but a string.