Change buildMap to object literal from array literal

The buildMap variable was being used like an object (indexed with strings) which arrays of course can support like any object but I thought it would make it clearer to initialize it with an object literal rather than array literal since array methods aren't being used for the variable.