use json format for post requests