[PROVISIONING] refactoring parser code

Signed-off-by: Jarko Poutiainen <Jarko.Poutiainen@oss.tieto.com>
Merge pull request #5 from jpoutiai/master

[PROVISIONING] refactoring parser code