downcase keys in json representation