Fixed schema extension serialisation