Made CSS HTML output valid and made JSON parse strings as well as objects