added framework for serializing formula_callable objects