fixed timestamp and check for json errors
Merge pull request #2 from georules/sincefix

fixed timestamp and check for json errors