Added json.php to output data in json format

This can be useful to give access to the data itself to other applications. Mobile application for example.