def pickCompat(obj, keys):
    """
        Forming dict from given one and list of keys
        @param {dict} obj
        @param {list[str]} keys
        @return {dict}
    """
    result = {}
    for key in keys:
        result[key] = obj.get(key)
    return result