An attempt to emulate xdebug's var_dump