It would be nice to extract to some test utility a method that reads a json from a file and returns a map.