force attribute serialization in alphabetical order to preserve unserialization order for firefox