Update for storing json as text