Filing this here mostly so I don't forget, but anyone is free to try it as it should be pretty trivial.