Save json as string.