Thanks very much for your example. However, the field in the service from your example is actually of type GlobalID and not Guid.
GlobalID (type: esriFieldTypeGlobalID, alias: GlobalID, SQL Type: sqlTypeOther, length: 38, nullable: false, editable: false)
The field that I'm trying to show is of type Guid:
type: esriFieldTypeGUID