remove unnecessary require for json serialization test cases
Merge pull request #15882 from aditya-kapoor/remove-unnecessary-require

remove unnecessary require from json serialization test cases