Extracted encode_perl_data to its own module Data::Transform::ExplicitMetadata