Convert dictionary to string array