Map and Set now serialize their hash function (fixes #23)