adding ability to debug mail response an striping slashes from json