show as many lines as possible in json format