Converts a tuple to a key-value/JSON object.
Parameter
none
Example
out = TUPLETOKEYVALUE(in)