API serialization: Also handle reverse m2m and fk fields
Stop depending on the ordering of XML attributes