Fixing lowercase fields in JSON, add error bar