Fixed redirects in table/form JSON replies
Merge pull request #846 from Zentyal/jag/json-redirect

 Fixed redirects in table/form JSON replies