Move JSON parsers to an own directory.
Add protection style classes to module members.
Move "attributes" member to Declaration base class and convenience constructors for Type.