Use WPT json endpoint, setup tests and makefile