Complete rework of configuration

- map replaced by json
- nativ support for inport / export
- default config part of resource