fixed root.json serialization to conform to standard