Allow dumping of scalars when at maximum permitted depth

81fb8c3 Allow dumping of scalars when at maximum permitted depth