better way to store json