remove pass-by-ref requirement from global dump_r(). close #40.