Add JSON support

typo?