How does the true appearance of the merpeople foreshadow the ending of the book?

What other greater struggles does Hermione's struggle for house-elf liberation parallel?