fix bug if in patterns default values is None and parse empty sting like json
Merge pull request #1 from Ins1ne/patch-1

fix bug if in patterns default values is None and parse empty sting like...