initial code for parsing json documents
loading entities from json file implemented