making into decorator for web_distributor. Will handel the json stuff when the program runs