Add details field for storing hex package data

Also add a few functions for accessing various of the fields from hex in
intuitive ways.