Improve jsonfile

This make the plugin use a internal format more resilient against someone fiddling directly with it, by using a extension.
This seems to be quite a hack. Why not just keep it simple without `.json`?