Johnson gets 1st Nationals win, 2-1 over Pirates