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

Should fix #175