add proper emulator constructors, fix related json parsing
add some logging to validator class