Implement new metadata viewer functionality.
Merge pull request #71 from jordandukart/7.x-handle-metadata

Implement new metadata viewer functionality.