I\'m trying to add functionality for my python code to read a bz2 file, and then load it into json dumps for sending over mqtt. all text based files work, however I need it to w