Bugfix for #10

[fixed problem with nested arrays](https://github.com/flitbit/diff/issues/10)