implemented create_person() and modified update_person() to take either a string or a json dict