Adds supports for nested arrays, with a possible security flaw.