Minor xnat api adaptions