adding content-type http header, fixes #10