Correcting json content type