fixed serialiser getState for list and map