passing in null for json param allows for xml requests with no nested tags