remove .json append in middleware; only accept json
Merge branch 'support/remove-dot-json'