Added default json header to curl requests