method that returns a hash with keys who's values are a hash of information