add defaultJson support
Use connection dispatch queue to serialize access to internal data