fixed json response with jsonrec lib