Convert to memoryhash kinda