parsing json to items