That lib requires PHP 5.5, which means the minimum PHP version that Gush supports would need to be bumped to 5.5. Otherwise maybe use something like RecursiveArrayIterator?