direct json transfer instead of written file yo