Common deserializing for List and Hash

* Hash still using it's own, to be updated.