Make sure the given string is json format and contains the 3 keys: [“encoder_name”, “encoder_type”, “routes”]