Refactored delta deserialization

Now supports multiple-level delta patching