Makes shared text stream a json array