fixes syntax errors in composer.json and ignores composer.lock