Javelin error: The ‘Content-Type’ header must be modified using the appropriate property or method.