Add json to array cast