def convert_kv_to_dict(data):
output = {}<EOL>for line in data.split("<STR_LIT:\n>"):<EOL><INDENT>stripped = line.strip()<EOL>if stripped:<EOL><INDENT>key, value = stripped.split("<STR_LIT:=>", <NUM_LIT:1>)<EOL>output[key] = value<EOL><DEDENT><DEDENT>return output<EOL>
convert text values in format:
key1=value1
key2=value2
to dict {'key1':'value1', 'key2':'value2'}

:param data: string containing lines with these values
:return: dict