added json to comments controller