[Finishes #74707228] Added methods to convert Calc JSON into CalcDB JSON and vice versa.

double-check that this got changed