Stop serializing indentation beyond a depth of 25...

This prevents massive buffer/output bloat when serializing deep trees.