json.extract! comment, :id, :banal_brainstorm, :comment_text, :parent_id, :created_at, :updated_at json.url comment_url(comment, format: :json)