adding jsmn support