fixed recursive data handling in convertEntryToArray