fixes for differences in serializers after moving to wildfly 8