Fixing this fucking json class to comile on a modern system.