add toArray to Configuration