make json compatible across languages