Fluid-5129, FLUID-5130: Fixed input issues for some transformers, removed isEmptyObject issue

New pull request as the branch for https://github.com/fluid-project/infusion/pull/402 got polluted