added methods to convert audit objects to a dictionary