Return a more useful data structure

Instead of returning an array of flags, we return an object keyed on
each flag name.
Merge pull request #4 from Financial-Times/key-on-flag-name

Return a more useful data structure