Add parse and toString method to FieldType