Got the old REST api working with the new data model!

I spend several hours doing a complete re-write of the back-end code, and
everything seems to work first try! I did zero testing! Fuck yes types.