Move additionalProperties to the right place.