Johnson takes oath at Capitol ceremony