Need to fix the Kotlin + Ktor implementation of the REST API so that this actually works and is useful.