Fixes issue with clashing key names in instance hash