change KEY_PREFIX to dollar sign.
redid JsonDOWN as a subclass of MemDOWN.
support deserializing binary keys and values.