revert to string keys that were used in Java