Fixed RDFGenerator to accomodate changes in the way the Generator handles enums.