Add array deserialisation and improve pointer/reference handling