Fix undefined JSON encodings.