allow casting back to string
add docstring about stop_empty_line flag