Add "contents":[] to empty subcollections in collection tree

Should fix #175

Effort points: 2