Converts a key and a klip provided by source to a writable form that's safe to append to klip file.
klip-writable form of the value provided by source that's safe to append to klip file
a key to identify the klip within the file