Cleaned up some code while formating the json reply from VT