adding default value for lang and category when parsing contents direcrory