added parameter to get the comments in json