fixed bug .. regexps must be converted to source before json
more specs done