Adding line materials for export, to save color, and providing that if customData has truthy value for material or geometry, that they are parsed in asJSON call