This PR moves hierarchical collects to use .AsJson found with iiif-net library over relying on internal serialization.
The reason for this change is that .AsJson contains a number of converters designed for the iiif spec which are not available through standard serialization. Additionally, the Content-Type header is now correctly set to that required by the iiif spec
This Pr does not change FlatCollection as it's currently being modified to work with the iiif-net library in #7
Partly resolves #17
This PR moves hierarchical collects to use
.AsJson
found with iiif-net library over relying on internal serialization.The reason for this change is that
.AsJson
contains a number of converters designed for the iiif spec which are not available through standard serialization. Additionally, theContent-Type
header is now correctly set to that required by the iiif specThis Pr does not change
FlatCollection
as it's currently being modified to work with the iiif-net library in #7