predefined function jsn+tests in valid.bra
Added atomicity checks in jsn where string argument is expected.