Parser module to struct