true and false in JSON are currently not supported. This would be fairly easy: adjust `toBytes` and add to `Document.valuesFromResult`