add jsonp support to rest GET handler