Merge pull request #1 from No5stranger/cjp

add Application Middlewares
extend symfony component JsonResponse, modified the return json data