Make composer.js as a validated JSON