json response for ajaxlist

Signed-off-by: Thejasvi Bhat <thejasvi@smashed.in>