- mime type to application/json
- proper cleanup of s-list headers for curl