Fixes issue in the json_response decorator.
Fixes issue in the json_response decorator.

Review: https://codereview.appspot.com/10702043/

Contributor: 8c09e0d19828b2ae155f3215417239fb66ae6f39@chromium.org

gco/rietveld,ericmckean/rietveld,arg0/rietveld,ericmckean/rietveld,salomon1184/rietveld,draem0507/rietveld,gavioto/rietveld,sajingeo/rietveld,v3ss0n/rietveld,andyzsf/rietveld,aungzanbaw/rietveld,foolonhill/rietveld,sajingeo/rietveld,arg0/rietveld,google-code-export/rietveld,DeanHere/rietveld,openlabs/cr.openlabs.co.in,gco/rietveld,gco/rietveld,Koulio/rietveld,robfig/rietveld,salomon1184/rietveld,openlabs/cr.openlabs.co.in,dushmis/rietveld,ericmckean/rietveld,draem0507/rietveld,berkus/rietveld,fuzan/rietveld,andyzsf/rietveld,supriyantomaftuh/rietveld,v3ss0n/rietveld,robfig/rietveld,DeanHere/rietveld,berkus/rietveld,rietveld-codereview/rietveld,dushmis/rietveld,openlabs/cr.openlabs.co.in,google-code-export/rietveld,draem0507/rietveld,v3ss0n/rietveld,salomon1184/rietveld,Koulio/rietveld,rietveld-codereview/rietveld,google-code-export/rietveld,arg0/rietveld,xtypebee/rietveld,DeanHere/rietveld,gavioto/rietveld,gavioto/rietveld,sajingeo/rietveld,fuzan/rietveld,xtypebee/rietveld,aungzanbaw/rietveld,fuzan/rietveld,supriyantomaftuh/rietveld,andyzsf/rietveld,foolonhill/rietveld,berkus/rietveld,xtypebee/rietveld,Koulio/rietveld,aungzanbaw/rietveld,robfig/rietveld,foolonhill/rietveld,dushmis/rietveld,supriyantomaftuh/rietveld,rietveld-codereview/rietveld,rietveld-codereview/rietveld