fixed access to Input for JSONP conversion