A JSON API written with the Slim php Framework