Handle booleans in transform.js' objectToString

This was causing some issues with `grunt-bower-requirejs`, as it uses `modifyConfig`. The resulting config had its boolean values replaced with empty objects, `{}`.

I haven't run the unit tests over this, but it's such a trivial change that it *shouldn't* cause any issues.