determine content type from Accept header
Merge pull request #12 from erikringsmuth/acceptheader

determine content type from Accept header