reset self.project_definition when new data is loaded from the platform
added support for layer-bound project definitions.