Added XML encoder; Added hybrid (xml/json) encoder based on Content-Type header