[8.0] sanitize m2o cache + avoid non int values for `default_` m2o keys of context