Migration: get rid of old (in)dependent_variables fields

Replace them with their json versions