add assertion call to moz
swap for full json seri/desiraliailalaizer