Mapped and transformed JSON data logic