parse moduleType as array