finalized better deserialization schema.