Add json builder code.
Change in ignore pattern; add unit test.