Write internal cache files using json, not yaml.
Tests are adapted and working. Missing tests to be sure that "migrations" will work correctly.
To be terminated, split in smaller commits, ...
I will not be able to fully work on this for the next month. I'm creating this MR if you (@bochecha) want to start reviewing it anyway.
Edited by Matthieu Gautier