Merge pull request #3 from cesarramirez/master

api.php now outputs JSON
Api now produces valid JSON
Merge branch 'master' of https://github.com/cesarramirez/SonicFlow

Conflicts:
	api.php