adjust heading depth for custom serialization section