parses the json better. still wont send txt back