Add error to throw if json not enabled
0.0.5