pub fn optional_type_arg(
    arg_name: &str,
    arg_type: &str,
    value: &Value
) -> Result<(), ValueError>