check if there is an 'items' key - if there isn't, set it to an empty list