Update json-database.php

Removing debug and adding comments