Refactor Photo entity to be available in GetInfo and Search with same API