DDEX metadata serialization for Ruby