ENYO-690: Initial clean-up of parsing.

Enyo-DCO-1.1-Signed-off-by: Aaron Tam <aaron.tam@lge.com>