downcasing json to avoid LoadErrors