return null if response body is empty, fixes #16