unwraps the callback and returns the raw content

def unwrap_raw(content):
    """ unwraps the callback and returns the raw content
    """
    starting_symbol = get_start_symbol(content)
    ending_symbol = ']' if starting_symbol == '[' else '}'
    start = content.find(starting_symbol, 0)
    end = content.rfind(ending_symbol)
    return content[start:end+1]