Removed more code and added a set method ro JSONSet.