Implemented JSON encoding for the broadcasts as a temporary solution