Set viewFormat property on context.request.