rsanchez/json — pull request #14 by GDmac (2011-12-25 14:31:14+00:00)
Title: Clean keys should return the whole arrays not one item :-)

Rob, you left out that "by reference"
(BTW that i didn't knew/used before learning it from your code)
foreach( $arrays as &$blah){}