normalize path in return object