formatter now adds a label tag if label specified in json
removed jsdom from required packages
class added for form - used by unit tests
added label tag to json
spec now testing for correct number of form elements to be added