Make DB Import backwards compatible
Make DB Import backwards compatible

closes #2716
- Continues to parse and allow import with the old format
- Detects the presence of the new JSON-API format and allows import

nakamuraapp/new-ghost,kaiqigong/Ghost,influitive/crafters,smaty1/Ghost,tadityar/Ghost,novaugust/Ghost,sebgie/Ghost,bastianbin/Ghost,veyo-care/Ghost,AnthonyCorrado/Ghost,adam-paterson/blog,greenboxindonesia/Ghost,dbalders/Ghost,nmukh/Ghost,ananthhh/Ghost,petersucks/blog,Kaenn/Ghost,ManRueda/manrueda-blog,sifatsultan/js-ghost,rameshponnada/Ghost,ghostchina/Ghost-zh,vloom/blog,Romdeau/Ghost,r14r/fork_nodejs_ghost,jamesslock/Ghost,cqricky/Ghost,zackslash/Ghost,dqj/Ghost,PDXIII/Ghost-FormMailer,cwonrails/Ghost,wemakeweb/Ghost,achimos/ghost_as,katrotz/blog.katrotz.space,rito/Ghost,carlyledavis/Ghost,gleneivey/Ghost,ITJesse/Ghost-zh,sunh3/Ghost,mohanambati/Ghost,stridespace/Ghost,bosung90/Ghost,ashishapy/ghostpy,blankmaker/Ghost,phillipalexander/Ghost,r14r/fork_nodejs_ghost,etdev/blog,ErisDS/Ghost,darvelo/Ghost,load11/ghost,IbrahimAmin/Ghost,atandon/Ghost,riyadhalnur/Ghost,acburdine/Ghost,edsadr/Ghost,lanffy/Ghost,schematical/Ghost,lukekhamilton/Ghost,Netazoic/bad-gateway,rchrd2/Ghost,pensierinmusica/Ghost,jparyani/GhostSS,klinker-apps/ghost,r1N0Xmk2/Ghost,sangcu/Ghost,Elektro1776/javaPress,memezilla/Ghost,metadevfoundation/Ghost,ghostchina/Ghost-zh,Rovak/Ghost,claudiordgz/Ghost,rollokb/Ghost,xiongjungit/Ghost,djensen47/Ghost,telco2011/Ghost,bosung90/Ghost,hnarayanan/narayanan.co,karmakaze/Ghost,ngosinafrica/SiteForNGOs,Azzurrio/Ghost,makapen/Ghost,qdk0901/Ghost,tmp-reg/Ghost,ryanbrunner/crafters,omaracrystal/Ghost,mttschltz/ghostblog,MrMaksimize/sdg1,ryanbrunner/crafters,Rovak/Ghost,camilodelvasto/localghost,chevex/undoctrinate,mnitchie/Ghost,notno/Ghost,davegw/dgw-website,cwonrails/Ghost,sankumsek/Ghost-ashram,ManRueda/manrueda-blog,djensen47/Ghost,ladislas/ghost,shrimpy/Ghost,PepijnSenders/whatsontheotherside,obsoleted/Ghost,ladislas/ghost,olsio/Ghost,pbevin/Ghost,neynah/GhostSS,ErisDS/Ghost,davidmenger/nodejsfan,FredericBernardo/Ghost,ITJesse/Ghost-zh,andrewconnell/Ghost,leonli/ghost,ManRueda/Ghost,praveenscience/Ghost,pedroha/Ghost,GarrethDottin/Habits-Design,ghostchina/Ghost.zh,dgem/Ghost,diancloud/Ghost,RufusMbugua/TheoryOfACoder,johnnymitch/Ghost,petersucks/blog,davidenq/Ghost-Blog,jomofrodo/ccb-ghost,jomahoney/Ghost,lukw00/Ghost,netputer/Ghost,mhhf/ghost-latex,carlosmtx/Ghost,manishchhabra/Ghost,dai-shi/Ghost,codeincarnate/Ghost,jiachenning/Ghost,augbog/Ghost,veyo-care/Ghost,leninhasda/Ghost,daimaqiao/Ghost-Bridge,Dnlyc/Ghost,johnnymitch/Ghost,edurangel/Ghost,jorgegilmoreira/ghost,BayPhillips/Ghost,jeonghwan-kim/Ghost,jamesslock/Ghost,floofydoug/Ghost,jparyani/GhostSS,Elektro1776/javaPress,bitjson/Ghost,DesenTao/Ghost,delgermurun/Ghost,julianromera/Ghost,janvt/Ghost,beautyOfProgram/Ghost,GroupxDev/javaPress,InnoD-WebTier/hardboiled_ghost,singular78/Ghost,axross/ghost,llv22/Ghost,ljhsai/Ghost,scopevale/wethepeopleweb.org,llv22/Ghost,pollbox/ghostblog,jacostag/Ghost,Jai-Chaudhary/Ghost,cysys/ghost-openshift,claudiordgz/Ghost,patrickdbakke/ghost-spa,yangli1990/Ghost,etanxing/Ghost,PaulBGD/Ghost-Plus,hoxoa/Ghost,YY030913/Ghost,acburdine/Ghost,notno/Ghost,skmezanul/Ghost,mhhf/ghost-latex,leninhasda/Ghost,theonlypat/Ghost,flomotlik/Ghost,ballPointPenguin/Ghost,zuphu/GhostBlog,patterncoder/patterncoder,tmp-reg/Ghost,zeropaper/Ghost,mlabieniec/ghost-env,arvidsvensson/Ghost,Gargol/Ghost,handcode7/Ghost,woodyrew/Ghost,BayPhillips/Ghost,rizkyario/Ghost,ygbhf/Ghost,tadityar/Ghost,jaguerra/Ghost,DesenTao/Ghost,KnowLoading/Ghost,Japh/shortcoffee,praveenscience/Ghost,choskim/GhostAzure,JonSmith/Ghost,rouanw/Ghost,zhiyishou/Ghost,novaugust/Ghost,tchapi/igneet-blog,jorgegilmoreira/ghost,lcamacho/Ghost,sceltoas/Ghost,ckousik/Ghost,UsmanJ/Ghost,imjerrybao/Ghost,KnowLoading/Ghost,smedrano/Ghost,ThorstenHans/Ghost,cqricky/Ghost,jin/Ghost,sergeylukin/Ghost,lowkeyfred/Ghost,singular78/Ghost,acburdine/Ghost,wspandihai/Ghost,anijap/PhotoGhost,uniqname/everydaydelicious,thinq4yourself/Unmistakable-Blog,JulienBrks/Ghost,wspandihai/Ghost,kolorahl/Ghost,flpms/ghost-ad,greyhwndz/Ghost,VillainyStudios/Ghost,beautyOfProgram/Ghost,Kaenn/Ghost,cysys/ghost-openshift,handcode7/Ghost,bisoe/Ghost,skleung/blog,diogogmt/Ghost,edsadr/Ghost,arvidsvensson/Ghost,AileenCGN/Ghost,Coding-House/Ghost,alecho/Ghost,dbalders/Ghost,SkynetInc/steam,UnbounDev/Ghost,kmeurer/Ghost,ErisDS/Ghost,Romdeau/Ghost,bigertech/Ghost,barbastan/Ghost,jomofrodo/ccb-ghost,cncodog/Ghost-zh-codog,Smile42RU/Ghost,Loyalsoldier/Ghost,davidenq/Ghost-Blog,johngeorgewright/blog.j-g-w.info,epicmiller/pages,daihuaye/Ghost,ryansukale/ux.ryansukale.com,trunk-studio/Ghost,freele/ghost,riyadhalnur/Ghost,xiongjungit/Ghost,tandrewnichols/ghost,k2byew/Ghost,lethalbrains/Ghost,zhiyishou/Ghost,dymx101/Ghost,tidyui/Ghost,codeincarnate/Ghost,rameshponnada/Ghost,wangjun/Ghost,weareleka/blog,yangli1990/Ghost,dylanchernick/ghostblog,allanjsx/Ghost,liftup/ghost,zumobi/Ghost,pollbox/ghostblog,Alxandr/Blog,bitjson/Ghost,phillipalexander/Ghost,pedroha/Ghost,YY030913/Ghost,lukaszklis/Ghost,NamedGod/Ghost,zeropaper/Ghost,thinq4yourself/Unmistakable-Blog,chris-yoon90/Ghost,JonSmith/Ghost,Japh/Ghost,ericbenson/GhostAzureSetup,schneidmaster/theventriloquist.us,VillainyStudios/Ghost,syaiful6/Ghost,lf2941270/Ghost,jamesyothers/Ghost,jgladch/taskworksource,madole/diverse-learners,influitive/crafters,dYale/blog,SkynetInc/steam,ballPointPenguin/Ghost,telco2011/Ghost,Smile42RU/Ghost,rollokb/Ghost,JohnONolan/Ghost,Shauky/Ghost,woodyrew/Ghost,cicorias/Ghost,schneidmaster/theventriloquist.us,FredericBernardo/Ghost,aexmachina/blog-old,tanbo800/Ghost,Aaron1992/Ghost,sangcu/Ghost,exsodus3249/Ghost,melissaroman/ghost-blog,ygbhf/Ghost,uploadcare/uploadcare-ghost-demo,allspiritseve/mindlikewater,greyhwndz/Ghost,jeonghwan-kim/Ghost,PeterCxy/Ghost,daimaqiao/Ghost-Bridge,Klaudit/Ghost,melissaroman/ghost-blog,ignasbernotas/nullifer,francisco-filho/Ghost,rmoorman/Ghost,PeterCxy/Ghost,jgillich/Ghost,duyetdev/islab,Dnlyc/Ghost,pathayes/FoodBlog,syaiful6/Ghost,hilerchyn/Ghost,tksander/Ghost,ivantedja/ghost,jorgegilmoreira/ghost,rouanw/Ghost,kortemy/Ghost,flomotlik/Ghost,ineitzke/Ghost,achimos/ghost_as,Xibao-Lv/Ghost,AnthonyCorrado/Ghost,janvt/Ghost,devleague/uber-hackathon,tandrewnichols/ghost,NovaDevelopGroup/Academy,omaracrystal/Ghost,mayconxhh/Ghost,alanmoo/moo-on-the-web,schematical/Ghost,patterncoder/patterncoder,stridespace/Ghost,Sebastian1011/Ghost,ckousik/Ghost,mtvillwock/Ghost,UnbounDev/Ghost,kaiqigong/Ghost,mlabieniec/ghost-env,cncodog/Ghost-zh-codog,tidyui/Ghost,AlexKVal/Ghost,madole/diverse-learners,ineitzke/Ghost,cysys/ghost-openshift,NikolaiIvanov/Ghost,ManRueda/Ghost,sergeylukin/Ghost,bisoe/Ghost,sceltoas/Ghost,Netazoic/bad-gateway,hnq90/Ghost,pensierinmusica/Ghost,dylanchernick/ghostblog,Trendy/Ghost,atandon/Ghost,kaychaks/kaushikc.org,trepafi/ghost-base,ivanoats/ivanstorck.com,hilerchyn/Ghost,edurangel/Ghost,prosenjit-itobuz/Ghost,Brunation11/Ghost,ericbenson/GhostAzureSetup,panezhang/Ghost,aschmoe/jesse-ghost-app,kmeurer/GhostAzureSetup,cwonrails/Ghost,thehogfather/Ghost,Coding-House/Ghost,choskim/ghost_exp,andrewconnell/Ghost,javimolla/Ghost,shannonshsu/Ghost,qdk0901/Ghost,francisco-filho/Ghost,LeandroNascimento/Ghost,morficus/Ghost,davegw/dgw-website,katrotz/blog.katrotz.space,duyetdev/islab,sebgie/Ghost,yundt/seisenpenji,shannonshsu/Ghost,ddeveloperr/Ghost,akveo/akveo-blog,dymx101/Ghost,jamesyothers/Ghost,thomasalrin/Ghost,Jai-Chaudhary/Ghost,JulienBrks/Ghost,hyokosdeveloper/Ghost,ASwitlyk/Ghost,shrimpy/Ghost,gabfssilva/Ghost,kortemy/Ghost,ivanoats/ivanstorck.com,e10/Ghost,STANAPO/Ghost,weareleka/blog,mnitchie/Ghost,no1lov3sme/Ghost,kwangkim/Ghost,JohnONolan/Ghost,kevinansfield/Ghost,karmakaze/Ghost,NodeJSBarenko/Ghost,liftup/ghost,InnoD-WebTier/hardboiled_ghost,situkangsayur/Ghost,aroneiermann/GhostJade,MadeOnMars/Ghost,theonlypat/Ghost,ngosinafrica/SiteForNGOs,sifatsultan/js-ghost,TribeMedia/Ghost,virtuallyearthed/Ghost,smaty1/Ghost,Netazoic/bad-gateway,disordinary/Ghost,greenboxindonesia/Ghost,bastianbin/Ghost,darvelo/Ghost,letsjustfixit/Ghost,Xibao-Lv/Ghost,rito/Ghost,lethalbrains/Ghost,Elektro1776/javaPress,gabfssilva/Ghost,trunk-studio/Ghost,AlexKVal/Ghost,neynah/GhostSS,johngeorgewright/blog.j-g-w.info,jiachenning/Ghost,memezilla/Ghost,imjerrybao/Ghost,aschmoe/jesse-ghost-app,augbog/Ghost,rafaelstz/Ghost,yanntech/Ghost,GroupxDev/javaPress,barbastan/Ghost,RoopaS/demo-intern,velimir0xff/Ghost,wallmarkets/Ghost,allspiritseve/mindlikewater,thehogfather/Ghost,denzelwamburu/denzel.xyz,neynah/GhostSS,yundt/seisenpenji,vishnuharidas/Ghost,bsansouci/Ghost,NovaDevelopGroup/Academy,dggr/Ghost-sr,ashishapy/ghostpy,bbmepic/Ghost,wangjun/Ghost,wemakeweb/Ghost,choskim/GhostAzure,mattchupp/blog,rizkyario/Ghost,skleung/blog,blankmaker/Ghost,metadevfoundation/Ghost,BlueHatbRit/Ghost,sfpgmr/Ghost,Gargol/Ghost,Japh/Ghost,ignasbernotas/nullifer,singular78/Ghost,dYale/blog,pbevin/Ghost,hnq90/Ghost,Loyalsoldier/Ghost,lukaszklis/Ghost,Kikobeats/Ghost,ManRueda/manrueda-blog,MadeOnMars/Ghost,obsoleted/Ghost,diancloud/Ghost,jiangjian-zh/Ghost,camilodelvasto/herokughost,optikalefx/Ghost,panezhang/Ghost,icowan/Ghost,ClarkGH/Ghost,v3rt1go/Ghost,tuan/Ghost,vainglori0us/urban-fortnight,delgermurun/Ghost,SachaG/bjjbot-blog,epicmiller/pages,Trendy/Ghost,rchrd2/Ghost,Bunk/Ghost,diogogmt/Ghost,zumobi/Ghost,alexandrachifor/Ghost,yanntech/Ghost,JonathanZWhite/Ghost,carlyledavis/Ghost,manishchhabra/Ghost,mlabieniec/ghost-env,Yarov/yarov,julianromera/Ghost,daihuaye/Ghost,Japh/shortcoffee,zackslash/Ghost,TryGhost/Ghost,jiangjian-zh/Ghost,Polyrhythm/dolce,Yarov/yarov,dqj/Ghost,floofydoug/Ghost,denzelwamburu/denzel.xyz,sajmoon/Ghost,JohnONolan/Ghost,Kikobeats/Ghost,developer-prosenjit/Ghost,dggr/Ghost-sr,prosenjit-itobuz/Ghost,kevinansfield/Ghost,NovaDevelopGroup/Academy,ryansukale/ux.ryansukale.com,tksander/Ghost,thomasalrin/Ghost,jomofrodo/ccb-ghost,lukekhamilton/Ghost,telco2011/Ghost,mohanambati/Ghost,lanffy/Ghost,makapen/Ghost,TribeMedia/Ghost,daimaqiao/Ghost-Bridge,icowan/Ghost,ASwitlyk/Ghost,STANAPO/Ghost,mikecastro26/ghost-custom,laispace/laiblog,kwangkim/Ghost,letsjustfixit/Ghost,netputer/Ghost,allanjsx/Ghost,laispace/laiblog,laispace/laiblog,aroneiermann/GhostJade,leonli/ghost,PDXIII/Ghost-FormMailer,ddeveloperr/Ghost,bsansouci/Ghost,Sebastian1011/Ghost,tanbo800/Ghost,mayconxhh/Ghost,LeandroNascimento/Ghost,kaychaks/kaushikc.org,r1N0Xmk2/Ghost,Remchi/Ghost,Brunation11/Ghost,ClarkGH/Ghost,vainglori0us/urban-fortnight,kevinansfield/Ghost,adam-paterson/blog,benstoltz/Ghost,skmezanul/Ghost,Azzurrio/Ghost,v3rt1go/Ghost,Remchi/Ghost,ghostchina/Ghost.zh,gcamana/Ghost,mattchupp/blog,javimolla/Ghost,flpms/ghost-ad,akveo/akveo-blog,smedrano/Ghost,javorszky/Ghost,BlueHatbRit/Ghost,dai-shi/Ghost,alecho/Ghost,RufusMbugua/TheoryOfACoder,e10/Ghost,k2byew/Ghost,NikolaiIvanov/Ghost,mdbw/ghost,leonli/ghost,mdbw/ghost,rafaelstz/Ghost,mttschltz/ghostblog,hyokosdeveloper/Ghost,UsmanJ/Ghost,tyrikio/Ghost,kortemy/Ghost,mtvillwock/Ghost,ThorstenHans/Ghost,hnarayanan/narayanan.co,ljhsai/Ghost,eduardojmatos/eduardomatos.me,devleague/uber-hackathon,novaugust/Ghost,javorszky/Ghost,sunh3/Ghost,Kikobeats/Ghost,velimir0xff/Ghost,tyrikio/Ghost,devleague/uber-hackathon,bbmepic/Ghost,Bunk/Ghost,NamedGod/Ghost,camilodelvasto/herokughost,jaswilli/Ghost,cncodog/Ghost-zh-codog,PepijnSenders/whatsontheotherside,jaguerra/Ghost,TryGhost/Ghost,nneko/Ghost,lf2941270/Ghost,uploadcare/uploadcare-ghost-demo,lukw00/Ghost,Feitianyuan/Ghost,Kaenn/Ghost,allanjsx/Ghost,stridespace/Ghost,Alxandr/Blog,hoxoa/Ghost,dgem/Ghost,GroupxDev/javaPress,Alxandr/Blog,anijap/PhotoGhost,dggr/Ghost-sr,katiefenn/Ghost,jomahoney/Ghost,sajmoon/Ghost,kolorahl/Ghost,jgillich/Ghost,JonathanZWhite/Ghost,TryGhost/Ghost,exsodus3249/Ghost,disordinary/Ghost,PaulBGD/Ghost-Plus,etanxing/Ghost,klinker-apps/ghost,carlosmtx/Ghost,lowkeyfred/Ghost,fredeerock/atlabghost,jaswilli/Ghost,IbrahimAmin/Ghost,sebgie/Ghost,letsjustfixit/Ghost,krahman/Ghost,jparyani/GhostSS,no1lov3sme/Ghost,nneko/Ghost,vainglori0us/urban-fortnight,wallmarkets/Ghost,rmoorman/Ghost,Netazoic/bad-gateway,Klaudit/Ghost,jacostag/Ghost,dbalders/Ghost,ghostchina/website,jin/Ghost,sfpgmr/Ghost,fredeerock/atlabghost,chris-yoon90/Ghost,davidenq/Ghost-Blog,davidmenger/nodejsfan,ananthhh/Ghost,ManRueda/Ghost,situkangsayur/Ghost,cicorias/Ghost,morficus/Ghost,optikalefx/Ghost,nmukh/Ghost,gleneivey/Ghost,benstoltz/Ghost,kmeurer/Ghost,load11/ghost,rizkyario/Ghost,InnoD-WebTier/hardboiled_ghost,virtuallyearthed/Ghost,GarrethDottin/Habits-Design,vloom/blog,axross/ghost,camilodelvasto/localghost,gcamana/Ghost,mohanambati/Ghost,cobbspur/Ghost,Feitianyuan/Ghost,psychobunny/Ghost,SachaG/bjjbot-blog,olsio/Ghost,pathayes/FoodBlog,psychobunny/Ghost,etdev/blog,developer-prosenjit/Ghost