prep work switching models/language to JSON