No, API-wise, this is a pretty clean way to deal with the odd mapping and add_field-related logic.

Do you think wrapping this in a descriptive method would make the code more clear? I suppose that’s just as good as this comment, but Shopify has made me allergic to comments.