Update docs.json

Fix path to middleware functions.