Add:define dynamic array through json