serialise Arrays as json (and deserialize) when saving/getting with save_var/get_var