updated json format of delivering arrays