obey newlines in JSON directory data