That is enough to expose bad, and potentially mod-breaking behavior:data.raw["mining-drill"]["electric-mining-drill"].module_specification = nil
1) with vanilla, the circuit settings are inaccessible. Default behavior of reading what is under the miner is all that can occur.
2) any mod which depended on a drill being "openable" would be unusable with such a miner (very edge case)