respect -w option in hash-object