improved debugging dump