KSerializer seems like a great example for a third-party thing that the structure API could support; I may want to look into this at some point.