I'm not sure about this. Our code is copying what aqt is doing [here]( https://github.com/dae/anki/blob/master/aqt/deckconf.py#L270).
We're [doing a similar thing here](https://github.com/ankidroid/Anki-Android/blob/v2.1-dev/src/com/ichi2/libanki/Decks.java#L75).

I double checked with SQLitebrowser and boolean values like ```autoplay``` and ```replayq``` are stored as ```true``` or ```false```. ```timer``` has 0 or 1. I don't know why it's like this.