now data of http is outputted as JSON format