def dict_by_ec(cur_dict: dict):
    """ Create dict (Json) by entry contexts convention
    Capitalize first char, remove nulls
    :param cur_dict: dictionary
    :return: dictionary by conventions
    """
    if not cur_dict:
        return None
    return {key.capitalize(): value for key, value in cur_dict.items() if cur_dict[key]}