setup for json-p return