Make sure we have dictionary objects before attempting to unpack any values.