inline fun <reified T : Any> <ERROR CLASS>.getListOrElse(path: String, default: <ERROR CLASS>.() -> List<T>): List<T>