Fixed conversion of empty packed array into hash