normalise licence headers and attributions