Fix DataTypes.BOOLEAN toJSON bug
Added curlies in DAO to make jshint happy :)