Hash.to_xml and other such Railsisms may result in element orderings being different in the output of a REST service. XML Elems are order sensitive, so this would not be a problem for JSON or XML attributes.
What aspect of service definition best practices is this breaking that makes me think it is a smell ??