Don't dive into array or objects and convert those values as well, because large objects like views can take too much time. This will only do the top level.
Patch has been committed to 6.x & 7.x
Automatically closed -- issue fixed for 2 weeks with no activity.
Drupal is a registered trademark of Dries Buytaert.