Improve PRH tests to make json comparison more flexible