add support for json-p callback styles on all api calls