Make sure items array is created in folder object. fixes #327