Fix line endings and REPL bug where it would destructure arrays while showing them