bugfix: fixed metadata_length in Value::as_c_str