Overridden heading serializer to include heading anchors
Fixed sub-sections found multiple times and fixed section / sub-section ordering