Format JSON string to reachable