error to parse strict json for 'undefined' and to generate it