Explicitly setting JSON codec as only response type.