Added an index() method to expose the entire metadata map. Fixes #15

You can close #15 after this.