Add logging to deserializer