clean up `jsonp` a bit for public consumption