Method to convert KeyValue to List<String>, for ease of writing to file.
Use immutable list.