check for booleans, omit quotes and lowercase it