initialization with JSON object was added