Converting OTA payload for advertisements to JSON packaging.