toJson doesn't return buildTypes
Merge pull request #406 from sinkuu/fix_tojson

buildTypes disapper from dub.json of a fetched package