Fix json for diagnosis list when more than one