Output in json format too