add a max level of recursion option to limit deep dumps