Less wierd serialization