Improved contract routing data serializer.