Add alphabetical attributes to the serializer, so we get less diff churn of the generated spec due to attribute order being unpredictable.