pub fn to_tide_response<T: Serialize>(
    v: Result<T, OperationError>,
    hvalue: String
) -> Result