export const selectIt = (path, obj) => path && path.split('.').reduce((mem, property) => mem && mem[property], obj)