HH-40214 add json producer tests and PEP8 other