[Fixes #1521] added tests for json input formatter

@kichalla @yishaigalatzer @harshgMSFT @rynowak