format response for v2_register