Added support for metadata content in arrayref format.