remove everything except the support for json migrations