schemes and methods should also accept a single string instead of an array (same as in xml and yaml loader). this would fails currently here.