add jsonp support to collection api