moved get_fields_with_model to cached property fields_with_model