to_dataframe can now include model properties in the dataframe