acceptJson

adds a header to accept JSON as response