HH-40214 better json support
HH-40214 add json producer tests and PEP8 other
HH-40214 add replace_root_node param to Doc.put