added col_type == uuid check to wrap in quotes
required new db extension uuid-ossp to be setup