default json constructor

Constructs empty object instead of null value