Refactor ObjectPorpertiesComponent