Dialogflow REST API v2 Middleware