skeleton: Switch to json, do initial implementation