pub fn coerce_value(ty: &str, arg: &str) -> Result<DynSolValue>
Helper function to coerce a value to a [DynSolValue] given a type string