Parse attributes for fields