Functions to convert multidimensional object to two dimensional array