add jsonp support and support for future formats