convert enabled attributes to booleans