Firstly this is plugin territory and should never go into core

Secondly why bother? A more important task is to transition widget storage into the posts table as a cpt, rather than polluting the options table.