`stringValue` for ratio type supports serialization.