Memoize indent strings generated during serialization