prepare output .txt for jsonp