Fix JSON recorder testing for EC2 systems.
Merge pull request #1773 from setowns1/bug

Fix JSON recorder testing for EC2 systems.