def parseActiniaAsyncStatusResponse(resp, key):
    """ Method to parse any actinia_core response.

    Args:
    resp: (requests.models.Response): response object
    key: (string): key to return. If not root node, use notation like "a.b.c"

    Returns:
    result: (dict, string, ...): Value of requested key
    """

    keyLen = len(key.split('.'))
    allKeys = key.split('.')

    result = resp

    for i in range(keyLen):
        result = result[allKeys[i]]

    return result