Add end to end tests for delimited text file reader/writer

Finally got around to doing this, helped in a way to cleanup some more code.
enhanced this to support json protocol for DelimitedTextFileReaderWriter tests, as it does not like binary(& it gets confused with binary strings that encode to the delimiter).