Fixes tests for the json utils methods