ws packet str->json