Moved the dictionary into array object