pub(crate) async fn request_to_json(
    co: &GenCo,
    value: Value
) -> Result<(Value, NixContext), CatchableErrorKind>