Added null check to TupleToJsonStringConverter