bool constants
small fix to json dumper