turn a json feed into a socket friendly source