Added compression option to msg payload