Finish the last of the new rest API, first pass
Also fixed some KeyError catches that were wrong.
Now more testing begins.