Implement iteritems() over a wrapped mixed-key PHP array