switched packages descriptors to json
 some changes after refactoring of core - tests are partially failing
...