added RegExp.jsonExec() method, that returns a JSON object using capture names as properties.