Adapt JSON format of directory listing to ExtJS