changed JSONBool string representation; fixed mongo conversion