def prepare_requested_resources(requ_res):
    """ Ajax sends an array as a string. We need to decompose each element from that string and reforge it into a "true" array

    Args:
        requ_res:
    Returns:
        list: Represents the string array requ_res as a real list
    """
    requested_resources = requ_res.replace("[", "").replace("]", "").replace("\"","")
    requested_resources = requested_resources.split(",")
    if len(requested_resources) == 1 and requested_resources[0] == '':
        requested_resources = []
    return requested_resources