Change parsing to also strip newlines