fix json response, compatiblity with adminium