Reduce the RML string before comparing

This prevents the SetInnerRML guard from failing due to minor differences in formatting