add a check for json_decode support
add a check for json_decode support

creinartz/patternlab-php-core,pattern-lab/patternlab-php-core,notacouch/patternlab-php-core,sghoweri/patternlab-php-core,scottnath/patternlab-php-core