Added debug to json parser for php.  And updated parser to take stdin instead of hardcoded filename