refactoring. removed json-simple dependencies