beware that in kotlin, the only way I found to get the exact name was
`data class MyResponse(@get:JsonProperty(“isDirectory”) val isDirectory: String)`
as mentioned here