fix indentation
case-insensitive handling of keys in livery list (force upper case)