Hopefully fix wrong json conversion of inverse hash