Added json response for paste view, to be used by irc bot