fix json array, now sends data to gami server