Script to test json sending