Fixes bug where module would throw an exception, when a string contained multiple new lines \n