Convert boolean-like values to actual booleans so that we can use them properly on Heroku