passing auxiliary data to be logged with the serialized object after processing