cheange encode_item() logging to logger_data because it's way too noisy and had no loglevel set