Fix conversion of 'electricFieldDensity' option (MML->JSON)

[#48204939]