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 JSON generated by `toJson`, IIUC.