So, no, they are not interchangeable! Only if you just store keys and strings and do not care about persistence.