material: customize drop from JSON

Also suppress serial warning in Random.

Signed-off-by: mkhropov <mkhropov@gmail.com>