Pull array and from metadata

Hi,

pull request for issue #3

Regards,