Don't crash on null edit

Null edits won't include 'newtimestamp' in the response
[#57] Simplify code