No materials after converting OBJ to JSON with obj2three.js

So JSON format is not possible in HTML?

Sorry, but I’m not sure what you mean by that. Of course you can process JSON in web applications but it’s not valid to put it into MTL files.