Fixed converting

Fixed cache (there was nothing wrong?)
Fixed serialization of booleans formatting bug