Fix JSON encoder to always encode associative array keys as strings.