buildTypes disapper from dub.json of a fetched package

This is caused by `toJson` returning no `buildTypes`. Dub overwrites dub.json in fetched packages with one generated by `toJson`, IIUC.