Moved cache default directory to tmp and the format of the metadata to json (hopefully addressing the comment Mark made about YML being a little too heavyweight).
Moved cache to tmp folder