fallback to newlines if no separator is provided