append the line -> append the JSON document