add json builder class and test files.