fn _serialize_value_as_json( value: DynSolValue, defs: &StructDefinitions, strict: bool, ) -> Result<Value>