Don't swallow bad exceptions
Fix/improve some logging
Don't wrap responses as json
Better error message on invalid json