Add _json to attachment and commits