added support to optionally lowercase all keys during processing