Move sign innards to json_headers