makes composerjson valid