normaliser (npm): normalise an array to an object with byId and items
Keywords: normalise|array|object|byId|items