Added a JSON Wrapper so implementation can be changed later.