Object.prototype.path = function FindByPath(path) {
    var elementPath = path.split('/');
    var findItter = function findItter(element, path) {
        // If the element is empty just ignore it and move on
        if (path[0] === '') {
            return findItter(element, path.slice(1));
        }
        if (element[path[0]] === undefined) {
            return undefined;
        }
        if (path.length === 1) {
            return element[path[0]];
        }
        return findItter(element[path[0]], path.slice(1));
    };
    return findItter(this, elementPath);
};