fixed Producer to use json format