fix bug with content types all being json :(