Added json encoding options to json response
Added method short-cut to request.
Fix bug introduced a few versions ago.
Merge pull request #3660 from GrahamCampbell/4.1-json

Allow Json Encoding Options To Be Set On The Json Response
Working on code style.
Simplify method. Fix bug.
One line.