remove excess line in json