Formatting HLS reference as JSON
Formatting RTP reference as JSON