Use JSON instead of YAML API

This should fix #1.