add some simple assert to can_generate_json