JPPayload: update json generation logic (field priorities), loc-args is now an array