added content type to retreive JSON not text