grep result to json. (#2)