get githook hook payload from either form or json