storing valid JSON/contract