Reformat API headers