I decode swarmsim saved games to JSON, showing my work as I go! This makes it easier to see what's going wrong if decoding fails.