Refactoring for new reading format

Also setting content type to json on ingress