json parser for materials