enable full support for both json or xml