Send JSON response to PUT_container

Fixes #1
Change response when we get a bad pithos result
Merge branch 'issue_1'

This is still open (waiting for client response) but merging anyway,
since we do provide a fix and we need to move on to other issues.