Remove manual JSON construction for app API

[#64270706]