Update print_r.js

call formatArray recursively on all objects (not just Arrays) to avoid printing stuff like
Array
(
    [0] => [object Object]
    [1] => [object Object]