Use a jason payload for each json response
Fix bug on deleting a dropbox file with spaces in the name
Gracefully handle most internal server errors, returning an error message instead