def METHOD_NAME(prev_state: dict, new_state: dict):
    """
    state_diff_finder returns diff between two serialized representations of the resource
    """
    before_diff = {}
    after_diff = {}
    for k, v in prev_state.items():
        if k not in new_state:
            before_diff[k] = v
            continue
        if new_state[k] != v:
            before_diff[k] = prev_state[k]
            after_diff[k] = new_state[k]
    for k, v in new_state.items():
        if k not in prev_state:
            after_diff[k] = v
    return before_diff, after_diff