sending json string from gui -> allocator