Read names from JSON-encoded file

change the PirateName class to get the list of names and appellations from a JSON file