Returns device JSON string.