Zod is epic. It lets us do a similar thing to ImmutableRecord, except it produces a plain JS object and lets us easily deal with nested maps. Game changer.
https://github.com/colinhacks/zod