allow flash to be stored as json