return null on invalid serialised data