Add JSON and XPI content type support (#30)