added docutil.toBool to coerce string values to booleans