fixx httpgrid construct
Fix missing argument (thanks florale)
Refactor createJsonResponse()