Add json content type to /containers/json api endpoint

Fixes #3967