fix where var_export would fail on recursion

In some cases, this workaround would fail, I assume because the Object
 was a secondary+ child of the data structure
print_r() seems to handle recursion better than var_export