Storing scales in resources as json