Return json with content type