Renamed SerializeResources method