add jsonp support to collection API