Save filesystem as array instead of dict