Removed some causes for segfaults.
Loading JSON data from file;
refactoring kvp_storage.