fixed model serializtaion example