fix for boolean value when validate json