[HttpKernel] fixed the inline renderer when passing objects as attributes (closes #7124)
merged branch fabpot/render-objects-fix (PR #8438)

This PR was merged into the 2.2 branch.

Discussion
----------

Render objects fix

| Q             | A
| ------------- | ---
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #7124
| License       | MIT
| Doc PR        | n/a

Commits
-------

82dbaee [HttpKernel] fixed the inline renderer when passing objects as attributes (closes #7124)
Update JsonResponse.php

Added JSON_NUMERIC_CHECK flag to fix issues when json response is used in JavaScript apps and especially in AngularJS.
merged branch esgy/patch-1 (PR #8420)

This PR was submitted for the master branch but it was merged into the 2.2 branch instead (closes #8420).

Discussion
----------

Update JsonResponse.php

Added JSON_NUMERIC_CHECK flag to fix issues when json response is used in JavaScript apps and especially in AngularJS.

Commits
-------

2b1c973 Update JsonResponse.php