add log to see json sent