collectionsFromJSON
fun collectionsFromJSON(json: JSONObject, warnings: WarningLogger? = null): Map<String, List<PublicationCollection>>
Parses a map of PublicationCollection indexed by their roles from its RWPM JSON representation.
If the collection can't be parsed, a warning will be logged with warnings.