import json


def dumps(dict_data):
    """
    Encoding Python Dictionary

    :param dict_data: [Dictionary] The dictionary you would like in Key Value Form
    :returns: [String] Json object of the Dictionary in Key Value form
    """
    kvs = []
    if isinstance(dict_data, dict):
        for key in dict_data:
            kv = {'Key': key, 'Value': dict_data[key]}
            kvs.append(kv)
    else:
        print("To dump data it must be in Dictionary Type")

    return json.dumps(kvs)