[feature] support reading a dict representing a json doc (#172)