take out array from json