Refactor codes
Add jsonApi middleware