changed content type to json