Change libraries section from list to dict
At the moment, the libraries section is a list of dictionaries and requires each one to contain the name key. I think it would be a better format if it was a dictionary. Ex:
"libraries": {
"lib1": {
…
}
}
instead of
"libraries": [
{
"name": "lib1",
…
}
]
This change would break existing setups using the libraries feature. So I'd suggest to first add the new format and deprecate the old one. With the next major update, remove support for the old format.