Added JSON test and implemented MessageFormatter builders