Fix bug in Ship buy usecase
Change Pirate (de)serialization method
Improve ShipMarket deserialization method
Change Ship serialization method
Move method buyShip to Pirate
Make changes for new deserialization to work correctly