jsontosvg: slighly different way to draw depth