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

double-check if this dependency is necessary