Patch to execute to_JSON and to_XML unit tests only on Python 2.7, as in 3.x the order of element serialisation cannot be guaranteed when generating XML and JSON