Better management of boolean JSON parameter "range"