add conversion from json back to key