Utils.categoryMap instead of creating new array

Signed-off-by: Umair Khan <omerjerk@gmail.com>