Changing hashmaps to objects