parser: make all sources/targets/commands/keys lowercase