Menu: Cleanup and update the json output.