split "type" and "scale" properties
use string names as dimensions and convert them to objects just before rendering