Trying replacing spaces with newlines to avoid EOF error from incorrect pickling from newlines being converted to spaces by form submission