A util for mapping JSON between different forms.