Made solution path start as an object instead of array