Added typename to JSON data

Type IDs are deprecated, so the name of the material is now sent aswell
as the old typeid.
Revert "Added typename to JSON data"

This reverts commit 8371953afaeb72b5543dba122f77a50f70d7de3b.
Added typename to JSON data

Type IDs are deprecated, so the name of the material is now sent aswel
as the old typeID
This fixes #16