refactor separator -> delimiter. Substitute stringify for partial function.