Switched the signature of the serializeResourceFile method over to have parity with the parseResourceFile method, with the second argument being a resource file info object.