make in_memory Storage compatible with frozen model entities
since attr based model entities are now frozen in swh.model 0.0.50