Increase robustness of Ihat URL bootstrapping

[ci skip]
- When request is not JSON, reject it and log a warning
- Only assign ihat_supported_formats if it can be parsed as JSON
Merge pull request #535 from Tahi-project/fix-ihat-url-initialization

Increase robustness of ihat url bootstrapping