Parser to parse information from yaml, xml, cfg to json object