Few REST updates

Add logging, correct formatting in a few places.  No semantic changes.