A simple editor using JSON and code borrowed from ThomasFrank.se