Take jpath to array into account in view