remove debug define, parse response json-p headers