check JSON parsing for lines